package com.nsyue.auth.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * (Permission)表实体类
 *
 * @author laixm
 * @since 2023-05-06 16:08:46
 */
@SuppressWarnings("serial")
public class Permission extends Model<Permission> {
    //主键id
    private Long id;
    //权限编码
    private String permissionCode;
    //权限名称
    private String permissionName;
    //描述
    private String description;
    //状态: 01 启用 02停用
    private String status;
    //创建人
    private Long createUserId;
    //创建时间
    private Date createTime;
    //修改人
    private Long updateUserId;
    //修改时间
    private Date updateTime;
    //版本
    private Long version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

}

